package com.ld.security.common.mybatis.base.entity;

import com.ld.security.common.core.base.column.MapJson;

public interface LabelMap {

    MapJson getLabelMap();

    void setLabelMap(MapJson map);

    default LabelMap  putJsonKey(String k,Object v){
        MapJson mapJson = this.getLabelMap();
        if(mapJson== null){
            mapJson = new MapJson();
            this.setLabelMap(mapJson);
        }
        mapJson.put(k,v);
        return this;
    }

}
